<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <table border="1" width="500" height="300" cellspacing="0" cellpadding="30" align="center">
        <thead>
            <tr>
            <th>姓名</th>
            <th>性别</th>
            <th>年龄</th>
            </tr>
        </thead>
      <tbody>
          <tr>
            <td>李四</td>
            <td rowspan="2">男</td>
            <td>18</td>
        </tr>

        <tr>
            <td>张三</td>
            <!-- <td>男</td> -->
            <td>18</td>
        </tr>

        <tr>
            <td colspan="2">王五/男</td>
            <!-- <td>男</td> -->
            <td>18</td>
        </tr>
      </tbody>
    </table>
</body>
</html>